package com.travel.travelServer.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.travel.travelServer.entity.User;
import com.travel.travelServer.entity.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2023-10-24 16:42:07
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    List<UserVO> pageByUser(Page<UserVO> page, @Param("conditions") Map<String, Object> conditions);
}

